package com.wy.authority.service;

import com.wy.authority.entity.Dept;

import java.util.List;

/**
 * @Author 忘忧
 * @Date Created in 2021/1/11 14:05
 * @Description:
 */

public interface DeptService {
    //查询部门
    List<Dept> find(int page);

    //模糊查询
    List<Dept> finds(Dept dept);

    //增加部门
    int insert(Dept dept);

    //修改部门
    int update(Dept dept);

    //删除部门
    int delete(int dept_id);

    //查找
    List<Dept> find1();
    List<Dept> find2();
    List<Dept> find3(Integer deptid);
}
